﻿using System;
using System.Data;


public partial class manager_task_NewDefault : System.Web.UI.Page
{
    DBHelper db = new DBHelper();
    public string userbh;
    public string Html_Dept = "";
    public string Html_Dept_Detail = "";
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            bindData(); 
        }
    }
    
    private void bindData()
    {
        userbh = Session[AppConfig.SESSION_USER_BH].ToString();
        DataTable dt = db.getList("select * from v_A_Task where fb_userbh='" + userbh + "' ORDER  BY ID DESC");
        rptDeApply_1.DataSource = dt;
        rptDeApply_1.DataBind();

    }  

}